<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("GBK");%>
<jsp:useBean
        id="ps"
        class="com.example.c5chapter5.bean.Person"
        scope="page">
<jsp:setProperty name="ps" property="*"/>
</jsp:useBean>
姓名：<jsp:getProperty  property="name" name="ps"/><BR>
性别：<jsp:getProperty  property="sex" name="ps"/><BR>
年龄：<jsp:getProperty property="age" name="ps"/><BR>
</body>
</html>
